mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-07 22:44:06 +00:00
clean: remove verbose log for getUserSubscription
This commit is contained in:
1 parent
a0ff03b13d
commit
a5c26eaece
1 file changed
-1
@@ -21,7 +21,6 @@ extension.on('metering:registerAvailablePolicies', async (
|
||||
extension.on('metering:getUserSubscription', async (/** @type {{actor: import('@heyputer/backend/src/services/auth/Actor').Actor, userSubscriptionId: string}} */event) => {
|
||||
const userName = event?.actor?.type?.user?.username;
|
||||
if ( config.unlimitedAllowList?.includes(userName) ) {
|
||||
console.warn(`WARNING!!! User ${userName} is on unlimited usage allow list, this is not recommended for production use`);
|
||||
event.userSubscriptionId;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user