mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
chore: remove API v1
This commit is contained in:
parent
1e86c2d6c4
commit
7aaad288e6
29 changed files with 136 additions and 808 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue