Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Refactor: QBCore.Commands.Add() #1049

Closed
wants to merge 2 commits into from
Closed

♻️ Refactor: QBCore.Commands.Add() #1049

wants to merge 2 commits into from

Conversation

leobalbo
Copy link

@leobalbo leobalbo commented Nov 29, 2023

Description

  • feat: permissions can now be provided as an array, e.g., {'admin', 'moderator', 'owner', ...}
  • Simplified logic for improved clarity and readability
  • Corrected argument packing for a more straightforward approach

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

- feat: permissions can now be provided as an array, e.g., {'admin', 'moderator', 'owner', ...}
- Simplified logic for improved clarity and readability
- Corrected argument packing for a more straightforward approach
@leobalbo
Copy link
Author

Description

  • reset color

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

Copy link

This PR has had 60 days of inactivity & will close within 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant