mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
Credit subscriptions (#4575)
* Implement subscription crediting * chore: query cache, clippy, fmt * Improve code, improve query for next open charge * chore: query cache, clippy, fmt * Move server ID copy button up * Node + region crediting * Make it less ugly * chore: query cache, clippy, fmt * Bugfixes * Fix lint * Adjust migration * Adjust migration * Remove billing change * Move DEFAULT_CREDIT_EMAIL_MESSAGE to utils.ts * Lint * Merge * bump clickhouse, disable validation * tombi fmt * Update cargo lock
This commit is contained in:
@@ -373,3 +373,5 @@ export function arrayBufferToBase64(buffer: Uint8Array | ArrayBuffer): string {
|
||||
const bytes = buffer instanceof Uint8Array ? buffer : new Uint8Array(buffer)
|
||||
return btoa(String.fromCharCode(...bytes))
|
||||
}
|
||||
export const DEFAULT_CREDIT_EMAIL_MESSAGE =
|
||||
"We're really sorry about the recent issues with your server."
|
||||
|
||||
Reference in New Issue
Block a user