Fix bad join with new table name
This commit is contained in:
parent
bf89050e8b
commit
7311fa561b
@ -139,7 +139,7 @@ class MetadataAPIInstance(object):
|
||||
|
||||
# Obtain a list of templates
|
||||
def get_profile_userdata(self, vm_profile):
|
||||
query = """SELECT userdata FROM profile
|
||||
query = """SELECT userdata.userdata FROM profile
|
||||
JOIN userdata ON profile.userdata = userdata.id
|
||||
WHERE profile.name = %s;
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user