mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
feat(premium): initial subscription implementation through paddle
This commit is contained in:
parent
26af2df720
commit
bd5b5c03fe
15 changed files with 1121 additions and 144 deletions
|
|
@ -84,15 +84,14 @@ impl IntoResponse for PKError {
|
|||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! fail {
|
||||
($($stuff:tt)+) => {{
|
||||
tracing::error!($($stuff)+);
|
||||
return Err(crate::error::GENERIC_SERVER_ERROR);
|
||||
return Err($crate::error::GENERIC_SERVER_ERROR);
|
||||
}};
|
||||
}
|
||||
|
||||
pub(crate) use fail;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! fail_html {
|
||||
($($stuff:tt)+) => {{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue