chore: remove API v1

This commit is contained in:
spiral 2022-04-20 12:20:03 -04:00
parent 1e86c2d6c4
commit 7aaad288e6
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
29 changed files with 136 additions and 808 deletions

View file

@ -97,6 +97,6 @@ public class DiscordControllerV2: PKControllerBase
throw Errors.MessageNotFound;
var ctx = msg.System == null ? LookupContext.ByNonOwner : ContextFor(msg.System);
return msg.ToJson(ctx, APIVersion.V2);
return msg.ToJson(ctx);
}
}