diff --git a/salt/states/github.py b/salt/states/github.py
index <HASH>..<HASH> 100644
--- a/salt/states/github.py
+++ b/salt/states/github.py
@@ -713,8 +713,8 @@ def repo_present(
                         ret['result'] = None
                     else:
                         result = __salt__['github.add_team_repo'](name, team_name,
-                                                                  permission,
-                                                                  profile=profile)
+                                                                  profile=profile,
+                                                                  permission=permission)
                         if result:
                             ret['changes'][team_name] = team_change
                         else:
states/github.py fix for incorrect positional argument